package com.lby.psychology.model.vo;

import com.lby.psychology.model.pojo.PsycQuestion;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "选项vo")
public class PsycQuestionVo extends PsycQuestion {


    /**
     * 量表id
     */
    @Schema(description = "量表id")
    private Integer scaleId;

    /**
     * 量表描述
     */
    @Schema(description = "量表描述")
    private String scaleName;

    /**
     * 量表类型
     */
    @Schema(description = "量表类型")
    private Integer scaleType;

    /**
     * 量表类型描述
     */
    @Schema(description = "量表类型描述")
    private String scaleTypeName;

    /**
     * 维度名称
     */
    @Schema(description = "维度名称")
    private String dimensionName;

    /**
     * 是否做过
     */
    @Schema(description = "是否做过")
    private boolean done;

    /**
     * 选项编码
     */
    @Schema(description = "选项编码")
    private String optionCode;


    /**
     * 选项列表
     */
    @Schema(description = "选项列表")
    private List<PsycQuestionOptionsVo> optionList;

}
